﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ShivamEMR.Model.Domain.DoctorsDomain;
using ShivamEMR.Model.Domain.CRMDomain;
using System.ComponentModel.DataAnnotations;

namespace ShivamEMR.Model.Domain.PatientDomain
{
    public class Consultation
    {
        #region Properties
        public Guid ID { get; set; }
        public string Title { get; set; }
        public string Notes { get; set; }
        #endregion

        #region ForeignKeyProperties
        [ForeignKey("Doctor")]
        public Guid DoctorID { get; set; }
        [ForeignKey("Patient")]
        public Guid PatientID { get; set; }
        [ForeignKey("Treatment")]
        public Guid TreatmentID { get; set; }
        [ForeignKey("Interaction")]
        public Guid InteractionID { get; set; } 
        #endregion

        #region NavigationalProperties
        public virtual Doctor Doctor { get; set; }
        public virtual Patient Patient { get; set; }
        public virtual PatientTreatment Treatment { get; set; }
        public virtual Interaction Interaction { get; set; }
        #endregion

    }
}